package com.android.lovepick.util;

import java.util.ArrayList;

import android.graphics.drawable.Drawable;

/**
 * @author Liutong
 * 
 *         会话列表各项内容
 * 
 */
public class ChatList
{
	private Drawable userface;
	private String nickName;
	private String msgSummary;
	private String date;
	private ArrayList<ChatMsg> mMsgs;

	/**
	 * @return the userface
	 */
	public Drawable getUserface()
	{
		return userface;
	}

	/**
	 * @param userface the userface to set
	 */
	public void setUserface(Drawable userface)
	{
		this.userface = userface;
	}

	/**
	 * @return the nickName
	 */
	public String getNickName()
	{
		return nickName;
	}

	/**
	 * @param nickName the nickName to set
	 */
	public void setNickName(String nickName)
	{
		this.nickName = nickName;
	}

	/**
	 * @return the msgSummary
	 */
	public String getMsgSummary()
	{
		return msgSummary;
	}

	/**
	 * @param msgSummary the msgSummary to set
	 */
	public void setMsgSummary(String msgSummary)
	{
		this.msgSummary = msgSummary;
	}

	/**
	 * @return the date
	 */
	public String getDate()
	{
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(String date)
	{
		this.date = date;
	}

	/**
	 * @return the mMsgs
	 */
	public ArrayList<ChatMsg> getMsgs()
	{
		return mMsgs;
	}

	/**
	 * @param mMsgs the mMsgs to set
	 */
	public void setMsgs(ArrayList<ChatMsg> mMsgs)
	{
		this.mMsgs = mMsgs;
	}

	@Override
	public String toString()
	{
		String str = "";
		str += "{";
		str += "nickName:" + nickName + ",";
		str += "msg:" + msgSummary + ",";
		str += "date:" + date;
		str += "}";

		return str;
	}

}
